; Change defcustom types to natnum
authorJeremy Bryant <jb@jeremybryant.net>
Tue, 12 Mar 2024 22:34:03 +0000 (22:34 +0000)
committerJustin Burkett <justin@burkett.cc>
Tue, 9 Apr 2024 17:51:08 +0000 (13:51 -0400)
* which-key.el
(which-key-frame-max-width, which-key-frame-max-height):
Change defcustom type integer to natnum.

which-key.el

index 29e0b5a277cd9a8c094255f59f99cb377420a0ea..2f2c2804f556572bb4e12cda96bef4550c012e56 100644 (file)
@@ -326,12 +326,12 @@ a percentage out of the frame's height."
 
 (defcustom which-key-frame-max-width 60
   "Maximum width of which-key popup when type is frame."
-  :type 'integer
+  :type 'natnum
   :version "1.0")
 
 (defcustom which-key-frame-max-height 20
   "Maximum height of which-key popup when type is frame."
-  :type 'integer
+  :type 'natnum
   :version "1.0")
 
 (defcustom which-key-allow-imprecise-window-fit (not (display-graphic-p))